package org.mysfit.ctp4j.infra.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import org.mysfit.ctp4j.infra.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * trade_kc
 * </p>
 *
 * @author long.gf
 * @since 2022-12-13
 */
@TableName("trade_kc_list")
@ApiModel(value = "TradeKcList对象", description = "trade_kc")
public class TradeKcList extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String fid;

    private LocalDateTime ftime;

    private BigDecimal fp;

    private BigDecimal cost;

    private Integer qty;

    private String reqId;

    private LocalDateTime reqTime;

    private String reqType;

    private String refQuoteId;

    private String quoteId;

    private String tradeId;

    private String polyNo;

    private Integer direction;


    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public LocalDateTime getFtime() {
        return ftime;
    }

    public void setFtime(LocalDateTime ftime) {
        this.ftime = ftime;
    }

    public BigDecimal getFp() {
        return fp;
    }

    public void setFp(BigDecimal fp) {
        this.fp = fp;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public LocalDateTime getReqTime() {
        return reqTime;
    }

    public void setReqTime(LocalDateTime reqTime) {
        this.reqTime = reqTime;
    }

    public String getReqType() {
        return reqType;
    }

    public void setReqType(String reqType) {
        this.reqType = reqType;
    }

    public String getRefQuoteId() {
        return refQuoteId;
    }

    public void setRefQuoteId(String refQuoteId) {
        this.refQuoteId = refQuoteId;
    }

    public String getQuoteId() {
        return quoteId;
    }

    public void setQuoteId(String quoteId) {
        this.quoteId = quoteId;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public String getPolyNo() {
        return polyNo;
    }

    public void setPolyNo(String polyNo) {
        this.polyNo = polyNo;
    }

    public Integer getDirection() {
        return direction;
    }

    public void setDirection(Integer direction) {
        this.direction = direction;
    }

    @Override
    public String toString() {
        return "TradeKcList{" +
        "fid=" + fid +
        ", ftime=" + ftime +
        ", fp=" + fp +
        ", cost=" + cost +
        ", qty=" + qty +
        ", reqId=" + reqId +
        ", reqTime=" + reqTime +
        ", reqType=" + reqType +
        ", refQuoteId=" + refQuoteId +
        ", quoteId=" + quoteId +
        ", tradeId=" + tradeId +
        ", polyNo=" + polyNo +
        ", direction=" + direction +
        "}";
    }
}
